package com.mzj.saas.mservice.sys.vo;

import javax.persistence.Column;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class UserVO {
	/*
	*用户所属部门集合
	 */
	private List<Long> depIds =new ArrayList<>();
	/**
	 * 登录账号（Id）
	 */
	private String id;
	/**
	 * 用户名称
	 */
	private String name;
	/**
	 * 手机号码
	 */
	private String mobile;
	/**
	 * 邮箱
	 */
	private String email;

	/*
	*职位
	 */
    private String position;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 盐值
	 */
	private String salt;
    /*
    *类型:0、普通用户，1、主管理员，2、子管理员
     */
	private  Short type;
   /*
   *主管理员标识 1主管理员 否则 0
    */
	private Integer mastLogo;

	/**
	 * 入职时间
	 */
	private Date entryTime;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 错号
	 */
	private Integer wrongNumber;
	/**
	 * 状态: 0-禁用, 1-启用
	 */
	private Short status;
	/**
	 * 密码状态：1默认密码 2非默认密码
	 */
	private Integer passwordStatus;

	private Date validTime;// 有效期

	/*
	*标识1.PC端登录 2.APP登录
	 */
    private Integer flag;
    //部门名称
    private String depName;
    //导入入职时间存储
	private String joinTime;
	//导入用户角色
	private String role;
	//导入用户自定义字段
	private Map<String,Object> customFieldList;

	private List<String> depNames =new ArrayList<>();

	public Integer getPasswordStatus() {
		return passwordStatus;
	}

	public void setPasswordStatus(Integer passwordStatus) {
		this.passwordStatus = passwordStatus;
	}

	public List<String> getDepNames() {
		return depNames;
	}

	public void setDepNames(List<String> depNames) {
		this.depNames = depNames;
	}

	public Integer getMastLogo() {
		return mastLogo;
	}

	public void setMastLogo(Integer mastLogo) {
		this.mastLogo = mastLogo;
	}
	public List<Long> getDepIds() {
		return depIds;
	}

	public void setDepIds(List<Long> depIds) {
		this.depIds = depIds;
	}


	public Map<String, Object> getCustomFieldList() {
		return customFieldList;
	}

	public void setCustomFieldList(Map<String, Object> customFieldList) {
		this.customFieldList = customFieldList;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getJoinTime() {
		return joinTime;
	}

	public void setJoinTime(String joinTime) {
		this.joinTime = joinTime;
	}

	public String getDepName() {
		return depName;
	}

	public void setDepName(String depName) {
		this.depName = depName;
	}
	public Short getType() {
		return type;
	}

	public void setType(Short type) {
		this.type = type;
	}
	public Date getEntryTime() {
		return entryTime;
	}

	public void setEntryTime(Date entryTime) {
		this.entryTime = entryTime;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getWrongNumber() {
		return wrongNumber;
	}

	public void setWrongNumber(Integer wrongNumber) {
		this.wrongNumber = wrongNumber;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public Date getValidTime() {
		return validTime;
	}

	public void setValidTime(Date validTime) {
		this.validTime = validTime;
	}

}
